package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;
import org.springframework.stereotype.Service;

import java.util.List;


public interface DishService {
    void modifyDishes(DishDTO dishDTO);

    void addDishes(DishDTO dishDTO);

    PageResult dishPageQuery(DishPageQueryDTO dishPageQueryDTO);

    void deleteByids(String ids);

    DishVO selectById(Long id);

    List<Dish> selectByCategoryId(Integer categoryId);

    void changeStatus(Integer status,Long id);

    List<DishVO> listWithFlavor(Dish dish);
}
